<%@ page contentType="text/html" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
	<head>	
		<title><c:out value="${thread.title}" /></title>
	</head>
	<body>
		<div class="titleHolder" style="display: none">
			<c:out value="${thread.title}" />
		</div>
		<c:forEach items="${thread.posts}" var="post">
			<div class="post">
				<h2>
					<c:out value="${post.username}" />
				</h2>
				<div>
					<c:out value="${post.content}" escapeXml="false" />
				</div>
			</div>
		</c:forEach>	
	</body>
</html>